POST api/du/{authenticationToken}
This method will create a new loan based on the DU 3.2 or 3.4 import file being passed in.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
authenticationToken |
Current authentication token |
string |
Required |
Body Parameters
This an object who's only property is "Data". This "Data" property is the DU 3.2 or 3.4 import file that will be used to create a new loan.
DUModelName | Description | Type | Additional information |
---|---|---|---|
Data |
This is the import/export data represented as a string. |
string |
None. |
ChannelKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Data": "sample string 1", "ChannelKey": "sample string 2" }
application/xml, text/xml
Sample:
<DUModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EpicAPI.Models"> <ChannelKey>sample string 2</ChannelKey> <Data>sample string 1</Data> </DUModel>
application/x-www-form-urlencoded
Sample:
Data=value&ChannelKey=value
Response Information
Resource Description
Returns a response message. On success, the "Created" status will be returned along with the loan key for the newly created loan. On error, an error status will be returned along with the error message.
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |